package sisi.captains;

import java.io.Serializable;
import javax.persistence.*;

import java.sql.Date;
import java.sql.Timestamp;


/**
 * Captain.java - The persistent class for the <i>captains database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 03/12/2013
 * 
 */
@Entity
@Table(name="captains")
public class Captain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CAPTAINS_ID_GENERATOR", sequenceName="CAPTAINSSEQ",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CAPTAINS_ID_GENERATOR")
	private Integer id;

	private String address;

	private Date birthdt;

	private String boat;

	private String city;

	private String contactname;

	private String country;

	private Date dtup;

	private String email;

	private String fax;

	private String gsm;

	private String longdiscode;

	private String note;

	private String position;

	private String region;

	private String telnum;

	private String zip;

	/**
	 * Captain.java - The persistent class for the <i>captains database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 03/12/2013
	 * 
	 */
	public Captain() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	public String getBoat() {
		return this.boat;
	}

	public void setBoat(String boat) {
		this.boat = boat;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getContactname() {
		return this.contactname;
	}

	public void setContactname(String contactname) {
		this.contactname = contactname;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}


	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getGsm() {
		return this.gsm;
	}

	public void setGsm(String gsm) {
		this.gsm = gsm;
	}

	public String getLongdiscode() {
		return this.longdiscode;
	}

	public void setLongdiscode(String longdiscode) {
		this.longdiscode = longdiscode;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getTelnum() {
		return this.telnum;
	}

	public void setTelnum(String telnum) {
		this.telnum = telnum;
	}

	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public Date getBirthdt() {
		return birthdt;
	}

	public void setBirthdt(Date birthdt) {
		this.birthdt = birthdt;
	}

	public Date getDtup() {
		return dtup;
	}

	public void setDtup(Date dtup) {
		this.dtup = dtup;
	}

}